import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
import javax.swing.Timer;

public class Kitteh implements ActionListener
{

	int x = 0;
	int y = 0;
	Timer t;
	boolean on;
	boolean[] run = new boolean[4];
	BufferedImage kit;
	

	public Kitteh(JFrame f){

		try{

			kit = ImageIO.read(new File("src/daREALZkitteh.png"));
			t = new Timer(10, this);
			t.start();
			
		}

		catch(IOException e) {

			System.out.println(e.getMessage());
		}
	}

	public Image getImage(){

		return kit;
	}


	public int getX(){
		return x;


	}

	public int getY(){
		return y;


	}

	public void paint(Graphics2D g2d)
	{
		g2d.drawImage(kit, 100, 400, null);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		
		
	}
	
	

}

